package com.huaguoguo.cyg.annotation;

import java.lang.annotation.*;

/**
 * description: 待插入的数据如果已经存在，那么久跳过
 * author:huaguoguo
 * Date: 2020/2/15
 * Time: 11:49
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SkipIfKeyExists {

    /**
     * 判断是否存在的字段key
     * @return
     */
    String[] keys();
}
